package pe.com.cotelasa.scp.dominio.service;

import java.util.Collection;

import pe.com.cotelasa.scp.dominio.excepcion.ServiceException;
import pe.com.cotelasa.scp.entidad.Pais;
import pe.com.cotelasa.scp.entidad.Ubigeo;

/**
 *
 * @author zer0
 */
public interface IServicioUbigeo {

    public Collection<Pais> listarTodosPaises() throws ServiceException;

    public Collection<Pais> listarPaisesActivos() throws ServiceException;

    public Pais conseguirPaisPorId(Integer id) throws ServiceException;

    public Collection<Ubigeo> listarTodosUbigeosPorCodigo(Ubigeo ubigeo) throws ServiceException;

    public Pais obtenerPaisPorNombre(String nombrePais) throws ServiceException;

    public Ubigeo obtenerUbigeoPorNombre(String nombreUbigeo) throws ServiceException;

    public Collection<Ubigeo> listarCiudadesPorPais(Pais pais) throws ServiceException;

    public Ubigeo obtenerUbigeoPorCodigo(Ubigeo ubigeo) throws ServiceException;
}
